package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.PersonalInfo;
import cn.gdut.chengcai.entity.PersonalInfoExample;

public interface PersonalInfoDao {
	long countByExample(PersonalInfoExample example);

	int deleteByExample(PersonalInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(PersonalInfo record);

	int insertSelective(PersonalInfo record);

	List<PersonalInfo> selectByExample(PersonalInfoExample example);

	PersonalInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") PersonalInfo record, @Param("example") PersonalInfoExample example);

	int updateByExample(@Param("record") PersonalInfo record, @Param("example") PersonalInfoExample example);

	int updateByPrimaryKeySelective(PersonalInfo record);

	int updateByPrimaryKey(PersonalInfo record);

	PersonalInfo isExist(String email);
}